require 'albacore'
require 'yaml'

buildName = "Booksleeve"
buildNumber = (ENV['buildnumber'] || "0.0") + ".*"
fullBuildNumber = ENV['fullBuildnumber'] || "0.0"
solutionFile = "./BookSleeveNoAsync.sln"

desc "Build the Configuration assembly"
task :default => [:buildRelease]

msbuild :buildRelease do |msb|
	puts("Starting 	Build #{buildName}
					BuildNumber: #{buildNumber}")
	msb.properties = {:configuration => :Release, :TrackFileAccess => false}
	msb.targets :clean, :Build
	msb.solution = solutionFile
end

